package com.ruoyi.jjyh.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 消息对象 jjyh_massage
 * 
 * @author ruoyi
 * @date 2020-11-24
 */
public class JjyhMassage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 消息表 */
    private String id;

    /** 消息标题 */
    @Excel(name = "消息标题")
    private String title;

    /** 消息内容 纯文字 */
    @Excel(name = "消息内容 纯文字")
    private String content;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 分类 1订单消息 2系统消息 */
    @Excel(name = "分类 1订单消息 2系统消息")
    private String type;
    /** 用户昵称 */
    private String userName;

    private String orderId;

    private String classification;//订单消息分类 1有新的换货 2提醒您回复，3，您的换货订单已确认 4设置保证金金额 5确认保证金金额 6对方支付保证金 7对方已发货 8对方已确认收货

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("title", getTitle())
            .append("content", getContent())
            .append("userId", getUserId())
            .append("type", getType())
            .toString();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getClassification() {
        return classification;
    }

    public void setClassification(String classification) {
        this.classification = classification;
    }
}
